←Select platform

RunAsync(DocumentViewerAsyncOperation<object>,string) Method

Summary

Runs a command that returns a value asynchronously.

Syntax
C#
C++/CLI
public void RunAsync( 
   DocumentViewerAsyncOperation<object> operation, 
   string commandName 
) 
public:  
   void RunAsync( 
      DocumentViewerAsyncOperation<Object^>^ operation, 
      String^ commandName 
   ) 

Parameters

operation

Asynchronous operation data to use.

commandName

Command name

Remarks

This method uses the thread pool to queue Run(commandName, value), then invokes Done (if not null) on success, Error (if not null) if an exception occurred and Always (if not null) at the end of either case.

The result of running the command RunHandler will be in Result

Refer to Document Viewer Commands for more information.

Requirements

Target Platforms

Help Version 22.0.2023.1.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer.WinForms Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.